import http from '@/utils/http'

// 综合态势-设备信息统计
export const totalApi = (data) => http.get('/panel/cockpit/total', data)
// 综合态势-告警信息列表
export const alarmListApi = (data) => http.get('/panel/cockpit/alarmList', data)
// 综合态势-近一周摄像头告警趋势
export const alarmTrendApi = (data) => http.get('/panel/cockpit/alarmTrend', data)
// 综合态势-查询设备告警top 8榜单
export const deviceAlarmTopApi = (data) => http.get('/panel/cockpit/deviceAlarmTop', data)
// 综合态势-查询全部摄像头列表
export const cameraListApi = (data) => http.get('/panel/cockpit/cameraList', data)
// 综合态势-默认摄像头画面
export const defaultUrlApi = (data) => http.get('/panel/cockpit/defaultUrl', data)


// 行车态势-行车设备信息统计
export const drivingTotalApi = (data) => http.get('/panel/driving/total', data)
// 行车态势-告警信息列表
export const drivingAlarmListApi = (data) => http.get('/panel/driving/alarmList', data)
// 行车态势-行车摄像头列表
export const drivingCameraListApi = (data) => http.get('/panel/driving/cameraList', data)
// 行车态势-行车默认摄像头画面
export const drivingDefaultUrlApi = (data) => http.get('/panel/driving/defaultUrl', data)


// 台车态势-台车设备信息统计
export const trolleyTotalApi = (data) => http.get('/panel/trolley/total', data)
// 台车态势-告警信息列表
export const trolleyAlarmListApi = (data) => http.get('/panel/trolley/alarmList', data)
// 台车态势-台车摄像头列表
export const trolleyCameraListApi = (data) => http.get('/panel/trolley/cameraList', data)
// 台车态势-台车默认摄像头画面
export const trolleyDefaultUrlApi = (data) => http.get('/panel/trolley/defaultUrl', data)

// 切换摄像头格式or画面
export const switchUrlApi = (data) => http.get('/panel/camera/switchUrl', data)
